Skip to content

Don't use adjacancy check for arraylets in WOC fixup#21144

Merged
dmitripivkine merged 1 commit intoeclipse-openj9:masterfrom
amicic:WOC_adjacency_check
Feb 19, 2025
Merged

Don't use adjacancy check for arraylets in WOC fixup#21144
dmitripivkine merged 1 commit intoeclipse-openj9:masterfrom
amicic:WOC_adjacency_check

Conversation

@amicic
Copy link
Contributor

@amicic amicic commented Feb 19, 2025

When fixing up contiguous reference arrays in Write Once Compactor the
rules should be:

  • pick any, if arraylet mode (offheap disabled)
  • pick any fully initialized array (dataAddr is set), if
    offheap enabled mode

No need to check if data is adjacent - it's given by these conditions.
More so, it's not even correct to use is-adjacent API for arraylet mode.

@amicic amicic added the comp:gc label Feb 19, 2025
@amicic amicic force-pushed the WOC_adjacency_check branch 3 times, most recently from c1ecf33 to 928a7c8 Compare February 19, 2025 16:30
@amicic amicic requested a review from dmitripivkine February 19, 2025 16:30
When fixing up contiguous reference arrays in Write Once Compactor the
rules should be:
- pick any, if arraylet mode (offheap disabled)
- pick any fully initialized array (dataAddr is set), if
offheap enabled mode

No need to check if data is adjacent - it's given by these conditions.
More so, it's not even correct to use is-adjacent API for arraylet mode.

Signed-off-by: Aleksandar Micic <Aleksandar_Micic@ca.ibm.com>
@amicic amicic force-pushed the WOC_adjacency_check branch from 928a7c8 to e546e71 Compare February 19, 2025 16:31
@dmitripivkine
Copy link
Contributor

jenkins test sanity xlinux jdk21

@dmitripivkine dmitripivkine merged commit ce89fed into eclipse-openj9:master Feb 19, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants